package org.dtrd.modules.record.service;

import org.dtrd.modules.record.entity.po.DtrdEntRdSigninBloodKetone;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

import org.dtrd.modules.record.entity.bean.BloodKetoneDetail;
import org.dtrd.modules.record.entity.bean.BloodKetoneListInfo;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.dtrd.modules.record.entity.request.BloodKetoneListRequest;
import org.dtrd.modules.record.entity.request.BloodKetonePageRequest;

/**
 * <p>
 * 血酮记录表服务类
 * </p>
 *
 * @author xiao
 * @since 2022-01-15
 */
public interface IDtrdEntRdSigninBloodKetoneService extends IService<DtrdEntRdSigninBloodKetone> {

    List<BloodKetoneListInfo> getBloodKetoneList(BloodKetoneListRequest request);

    IPage<BloodKetoneListInfo> pageBloodKetone(BloodKetonePageRequest request);

    BloodKetoneDetail getBloodKetone(Integer dataId);

    boolean saveOrUpdateBloodKetone(BloodKetoneDetail dto);

    boolean removeBloodKetone(Integer dataId);

    void onWeiceRecord(Integer patientId, Float value, String measureTime, Integer measureResult);
}
